package com.data.config.thirdapp;

/**
 * @author xiayuanpeng
 * @since 2022/3/15
 */
public class ThirdAppURLConfig {

    /**
     * 获取 space_id
     */
    public static final String URL_SPACE_ID = "https://oapi.dingtalk.com/topapi/processinstance/cspace/info?access_token=ACCESS_TOKEN";
    /**
     * 获取企业内部应用 access_token
     */
    public static final String URL_ACCESS_TOKEN_START = "https://oapi.dingtalk.com/gettoken";
    /**
     * 单步上传
     */
    public static final String URL_SINGLE_UPLOAD = "https://oapi.dingtalk.com/file/upload/single?access_token=ACCESS_TOKEN";
    /**
     * 发起审批流
     */
    public static final String URL_SHENPI_CREATE = "https://oapi.dingtalk.com/topapi/processinstance/create?access_token=ACCESS_TOKEN";
    /**
     * 保存文件到自定义或审批钉盘空间
     */
    public static final String URL_ADD_FILE = "https://oapi.dingtalk.com/cspace/add?access_token=ACCESS_TOKEN";
    /**
     * 获取钉钉审批实例详情url
     */
    public static final String URL_OA_MSG="https://oapi.dingtalk.com/topapi/processinstance/get?access_token=ACCESS_TOKEN";
}
